import React from 'react';
import { PageContainer } from '@ant-design/pro-layout';
import ShopInfo from './ShopInfo';
import DecorateInfo from './DecorateInfo';
import './style.less';
import BreadcrumbDept from '@/components/BreadcrumbDept';
import { isExits } from '@/utils/utils';

const Info: React.FC = () => {
  return (
    <PageContainer extra={[
      <BreadcrumbDept />
     ]} breadcrumb={{}}>
      {isExits('600601000') && <ShopInfo />}
      {isExits('600601002') && <DecorateInfo />}
    </PageContainer>
  );
};
export default Info;
